package com.brsya.movie.contract;

import com.brsya.base.base.BaseView;
import com.brsya.base.bean.BaseObjectBean;
import com.brsya.base.bean.DomainBean;

import java.util.Map;

import io.reactivex.rxjava3.core.Observable;

/**
 * Created by Brsya
 * CreateDate: 2022/7/7  14:03
 * Description:
 * 启动页
 */
public interface SplashContract {
    interface Model{
        /**
         * 获取域名
         */
        Observable<BaseObjectBean<DomainBean>> getUrl(Map<String, Object> par);
    }

    interface View extends BaseView{
        /**
         * 请求成功
         */
        void result();
    }

    interface Presenter{
        /**
         * 获取域名
         */
        void getUrl();
    }

}
